package com.lotter.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.lotter.common.invocation.BaseConditionVO;
import com.lotter.model.order.LotteryOrder;


public interface LotteryOrderMapper extends BaseDao<LotteryOrder>{
	
	List<LotteryOrder> findLotteryOrderByMap(@Param("iswinning") Integer iswinning) ;
	
	List<LotteryOrder> findLotteryOrderByPage(BaseConditionVO vo);
	
	Map<String,Integer> findRedrate(@Param("uid")Long uid,
			@Param("available")Integer available);

}
